-
twelti
I wrote an external, debugged, and it runs like a champ on my main PC. I copied over to another pc (same OS), and PD can't load the external on this second PC.
It's not a path issue, as I put the dll in the \extra dir, and other objects from that dir are loading fine. THere is only one copy of the dll, on the path, so not duplicated.
I'm wondering if there is anything required other than the dll? It was made in Visual Studio, using an SDK for a heatracker. But shouldn't the dll be all that is required in any case?
-
twelti
I have compiled the helloworld example in VS2005 and it runs fine in PD. When I try to change the name, it still compiles fine but crashes PD!
I created a new VS project with a new name (VCtracker) and imported the m_pd.h header and also the helloworld.c file (renamed to VCtracker.c). I simply replaced "helloworld" with "VCtracker" in the text of the c file, and also the linker export command to
/export:VCtrack_setup
I have checked and checked and can't find any reason why it should not work, all I did was change the name! What gives?
-
twelti
Is there any example code or help available to compile a Helloworld external using C++, instead of C ?? I have the C version compiling. I have some existing code in C++ that I would like to make an external out of, by basically inserting it into the existing Helloworld app.
An alternative would be using flext, but then another thing to set up and figure out.
An example code wolud be great!
-
twelti
Hi, I have a patch where I'm writing one line of text to a .txt file and want to read it, both using [textfile]. Seems simple enough, but I can in no way shape or form get output once I have written the txt file (though the helppfile example works fine). The file IS there in the directory; in fact, sending a [print( message causes the string from the txt file to be sent to the console just fine. So, it IS in the qlist. I just CAN"T get it out of the textfile output in the normal way (bang). I can use the [print( and see it at the console, but the message it sends out does not register anything on my debug-o-meter (not even undefined!):
|
|
[route bang float symbol list anything ]
| | | | | | |
[o] [o] [o] [o] [o] [o] [o]So, this is mystifying, and so far useless.
Hints welcom...
-
twelti
Hi, I want to compare the output of wmangle to "hidden 1" to determine if a particular window is hidden.
So, if queried, wmangle will send a message "hidden 1" or "hidden 0", depending on whether the window in question (already specified to wmangle) is hidden or not, and I just want to generate a bang in the first case only. I spent some several hours trying to do this seemingly simple task but could not find a way. I tried various combination of route, trigger, strcmp, and some other ideas, but nothing seems to work. I know this is a newbie question, but any suggestions welcome.
-
twelti
Hi, I would like to redirect the pd console messages such that I can display them in gripd (an external GUI for pd), then I can run pd with -nogui and just have the gripd GUI running. HOwever, I want to be able to see system messages in the gripd GUI. If I could just redirect the messages to somewhere in the pd patch, I could send it to the gripd GUI no problem.
Any suggestions...? -
twelti
Dunno if this thread is completely dead, but:
I followed instructions int his thread and got the helloworld to build in VS2005. I compiled in debug mode. The helloworld.dll loads and works in PD. BUT, if I switch to relese mode, pd crashes every time. I have been fiddling aournd with some of the settings and it seems that the "Generate Debug info" is the culprit.
Any help appreciated, I'm going nuts here.