I have two 3rd party unmanaged c++ dll and one C++ project which uses these dlls. In my asp.net project i added c++ project as reference but in runtime it fails with that error:
Exception from HRESULT: 0x8007007E
Visual studio puts c++ project's dll into /bin folder auto. Even if i put other dlls into bin folder, it fails.
User Profile
Collapse
-
How to add C++ project with two 3rd party unmanaged DLLs
-
sound problem
I'm using the way above to solve my sound...Code:File.prototype.OpenAudioFile = function(dPath) { var rem = document.createElement("div") rem.name = "divv"; rem.id = "divId"; rem.innerHTML = '<embed src="' + dPath + '" autostart="false" name="' + dPath + '"></embed>'; document.body.appendChild(rem); } -
my sound problem is solved using the way...Code:File.prototype.OpenAudioFile = function(dPath) { var rem = document.createElement("div") rem.name = "divv"; rem.id = "divId"; rem.innerHTML = '<embed src="' + dPath + '" autostart="false" name="' + dPath + '"></embed>'; document.body.appendChild(rem); } -
as i see in some file loader code "onload" function was used as a callback to check if element loading is completed. after geting message from onload i do something else and i call
document.body.a ppendChild(this .audio);
in a different class. i can see all properties of aSound and this.data from this.audio.
and i dont understand with file object but i just tested. i wasnt sure which one will work. i had some base knowledge...Leave a comment:
-
dynamic audio loading
hi,
I'm trying to load audio files dynamicly but i got some errors.
my code :
it doesnt work and i tried :Code:File.prototype.OpenAudioFile = function(dPath) { aSound= document.createElement("embed"); aSound.src = dPath; aSound.name = "ses"; this.data = aSound; aSound.onload = this.FileDownloaded(); }
...Code:document.write("<embed -
it looks fine for me also but i dont understand why i lost this' objects. i got this error just when i use timer callback method.Leave a comment:
-
sorry i pasted with wrong function name. it's already file.WaitForUnF inishedFiles(); .Leave a comment:
-
timer problem
Hi,
I have timer class and some classes use timer.
but when i come back from timer with callback function, i can see this. properties.
...Code:function Timer(dName, dCallback){ this.timer = null; this.name = dName; this.isRunning = false; this.interval = 50; this.callback = dCallback; } Timer.prototype.Start = function() { this.timer = self.setTimeout(this.callback,this.interval); -
-
@gits your method is working but i couldnt find how to call base constructor.
Code:function Drawable(dElement) { this.element = dElement; .... }...Code:Image.prototype = new Drawable; Image.prototype.constructor = Image function Image(path, x, y, visible) { debugtext("ImageDeneme"); this.image= document.createElement("img");Leave a comment:
-
im doing the same but as i said i got "prototype is read-only" error.Leave a comment:
-
acctually i handle that problem and it works now but i have problem with inheritance now.
ImageClass.prot otype = new Drawable(...);
ImageClass.cons tructor = ImageClass;
but i got "prototype is read-only" error. I'm working on a different platform but it supports javascript and as i got, it has different version of js.
could you tell how to inherit from a super class?Leave a comment:
-
javascript using object between js files.
Hi,
I have Image.js and Main.js files. I create image object like test = new Image(...);
and it can be seen on screen but when i try to do call Move method like
test.Move(x,y); it crashes. Is there anyway to do that?
My code :
main.js:
image.jsCode:var objBall = new Image("abc.gif", 0, 0, visible); objBall.Move(50,50);
...Code:function ImageDeneme(path,
No activity results to display
Show More
Leave a comment: