<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
patrice wrote:<br><br>> Hello, is there someone using MSVC that would give an help?<br>> <br>> I'd like to know if adding this line to g_canvas.h would fix the gridflow external loading<br>> <br>> <br>> EXTERN void canvas_setgraph(t_glist *x, int flag, int nogoprect);<br>> <br><br>You can add a line in the Property -> Linker -> Command Line -> Additional Options:<br>/export: canvas_setgraph<br><br>Or you can write a text file something.def with this text:<br>LIBRARY whatever.dll<br>EXPORTS<br> canvas_setgraph<br><br>Or you can change the line in g_canvas.h<br><br>__declspec(dllexport) void canvas_setgraph(t_glist *x, int flag, int nogoprect);<br><br>EXPORT would also do this, it's defined in m_pd.h.<br>It seems you would also have to define PD_INTERNAL.<br>And EXPORT also prefixes the keyword 'extern', which you may not want.<br><br>Martin<br><br>> Vanilla doesn't compile on MinGW because it can not compile last releases of portaudio and portmidi<br>> <br>> Also I've never used MSVC, is there a documentation somewhere for building pd with it?<br>> <br>> thanks<br>> <br>> -- <br>> Patrice Colet <br>> <br>> _______________________________________________<br>> Pd-dev mailing list<br>> Pd-dev@iem.at<br>> http://lists.puredata.info/listinfo/pd-dev<br>                                            </body>
</html>